3.156 \(\int \frac {1}{x^4 (3+4 x^3+x^6)} \, dx\)

Optimal. Leaf size=34 \[ -\frac {1}{9 x^3}+\frac {1}{6} \log \left (x^3+1\right )-\frac {1}{54} \log \left (x^3+3\right )-\frac {4 \log (x)}{9} \]

[Out]

-1/9/x^3-4/9*ln(x)+1/6*ln(x^3+1)-1/54*ln(x^3+3)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1357, 709, 800} \[ -\frac {1}{9 x^3}+\frac {1}{6} \log \left (x^3+1\right )-\frac {1}{54} \log \left (x^3+3\right )-\frac {4 \log (x)}{9} \]

Antiderivative was successfully verified.

[In]

Int[1/(x^4*(3 + 4*x^3 + x^6)),x]

[Out]

-1/(9*x^3) - (4*Log[x])/9 + Log[1 + x^3]/6 - Log[3 + x^3]/54

Rule 709

Int[((d_.) + (e_.)*(x_))^(m_)/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(e*(d + e*x)^(m + 1))/((m
 + 1)*(c*d^2 - b*d*e + a*e^2)), x] + Dist[1/(c*d^2 - b*d*e + a*e^2), Int[((d + e*x)^(m + 1)*Simp[c*d - b*e - c
*e*x, x])/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*
e + a*e^2, 0] && NeQ[2*c*d - b*e, 0] && LtQ[m, -1]

Rule 800

Int[(((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_)))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Int[Exp
andIntegrand[((d + e*x)^m*(f + g*x))/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[b^2 -
 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && IntegerQ[m]

Rule 1357

Int[(x_)^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplif
y[(m + 1)/n] - 1)*(a + b*x + c*x^2)^p, x], x, x^n], x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[n2, 2*n] && NeQ[
b^2 - 4*a*c, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {1}{x^4 \left (3+4 x^3+x^6\right )} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{x^2 \left (3+4 x+x^2\right )} \, dx,x,x^3\right )\\ &=-\frac {1}{9 x^3}+\frac {1}{9} \operatorname {Subst}\left (\int \frac {-4-x}{x \left (3+4 x+x^2\right )} \, dx,x,x^3\right )\\ &=-\frac {1}{9 x^3}+\frac {1}{9} \operatorname {Subst}\left (\int \left (-\frac {4}{3 x}+\frac {3}{2 (1+x)}-\frac {1}{6 (3+x)}\right ) \, dx,x,x^3\right )\\ &=-\frac {1}{9 x^3}-\frac {4 \log (x)}{9}+\frac {1}{6} \log \left (1+x^3\right )-\frac {1}{54} \log \left (3+x^3\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 34, normalized size = 1.00 \[ -\frac {1}{9 x^3}+\frac {1}{6} \log \left (x^3+1\right )-\frac {1}{54} \log \left (x^3+3\right )-\frac {4 \log (x)}{9} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x^4*(3 + 4*x^3 + x^6)),x]

[Out]

-1/9*1/x^3 - (4*Log[x])/9 + Log[1 + x^3]/6 - Log[3 + x^3]/54

________________________________________________________________________________________

fricas [A]  time = 0.90, size = 35, normalized size = 1.03 \[ -\frac {x^{3} \log \left (x^{3} + 3\right ) - 9 \, x^{3} \log \left (x^{3} + 1\right ) + 24 \, x^{3} \log \relax (x) + 6}{54 \, x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^4/(x^6+4*x^3+3),x, algorithm="fricas")

[Out]

-1/54*(x^3*log(x^3 + 3) - 9*x^3*log(x^3 + 1) + 24*x^3*log(x) + 6)/x^3

________________________________________________________________________________________

giac [A]  time = 0.30, size = 36, normalized size = 1.06 \[ \frac {4 \, x^{3} - 3}{27 \, x^{3}} - \frac {1}{54} \, \log \left ({\left | x^{3} + 3 \right |}\right ) + \frac {1}{6} \, \log \left ({\left | x^{3} + 1 \right |}\right ) - \frac {4}{9} \, \log \left ({\left | x \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^4/(x^6+4*x^3+3),x, algorithm="giac")

[Out]

1/27*(4*x^3 - 3)/x^3 - 1/54*log(abs(x^3 + 3)) + 1/6*log(abs(x^3 + 1)) - 4/9*log(abs(x))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 36, normalized size = 1.06 \[ -\frac {4 \ln \relax (x )}{9}+\frac {\ln \left (x +1\right )}{6}-\frac {\ln \left (x^{3}+3\right )}{54}+\frac {\ln \left (x^{2}-x +1\right )}{6}-\frac {1}{9 x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^4/(x^6+4*x^3+3),x)

[Out]

-1/9/x^3-4/9*ln(x)+1/6*ln(x+1)-1/54*ln(x^3+3)+1/6*ln(x^2-x+1)

________________________________________________________________________________________

maxima [A]  time = 0.68, size = 28, normalized size = 0.82 \[ -\frac {1}{9 \, x^{3}} - \frac {1}{54} \, \log \left (x^{3} + 3\right ) + \frac {1}{6} \, \log \left (x^{3} + 1\right ) - \frac {4}{27} \, \log \left (x^{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^4/(x^6+4*x^3+3),x, algorithm="maxima")

[Out]

-1/9/x^3 - 1/54*log(x^3 + 3) + 1/6*log(x^3 + 1) - 4/27*log(x^3)

________________________________________________________________________________________

mupad [B]  time = 1.23, size = 26, normalized size = 0.76 \[ \frac {\ln \left (x^3+1\right )}{6}-\frac {\ln \left (x^3+3\right )}{54}-\frac {4\,\ln \relax (x)}{9}-\frac {1}{9\,x^3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^4*(4*x^3 + x^6 + 3)),x)

[Out]

log(x^3 + 1)/6 - log(x^3 + 3)/54 - (4*log(x))/9 - 1/(9*x^3)

________________________________________________________________________________________

sympy [A]  time = 0.17, size = 29, normalized size = 0.85 \[ - \frac {4 \log {\relax (x )}}{9} + \frac {\log {\left (x^{3} + 1 \right )}}{6} - \frac {\log {\left (x^{3} + 3 \right )}}{54} - \frac {1}{9 x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**4/(x**6+4*x**3+3),x)

[Out]

-4*log(x)/9 + log(x**3 + 1)/6 - log(x**3 + 3)/54 - 1/(9*x**3)

________________________________________________________________________________________